#!/bin/bash
echo "start sync..."

git pull

## 当前命令所在路径
workdir=$(cd $(dirname $0); pwd)
echo $workdir
cd $workdir

git add --all .
git commit -m "idoo"
git push -u origin master

echo 'sync successed!!!'
